(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '1EE862CF10AC4CA5ACB2C4981A742323';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function s(){}
function N(){}
function M(){}
function L(){}
function K(){}
function fm(){}
function pb(){}
function Db(){}
function Pb(){}
function Tb(){}
function rc(){}
function xc(){}
function wc(){}
function Wc(){}
function Vc(){}
function Uc(){}
function kd(){}
function jd(){}
function Hd(){}
function Qd(){}
function Zd(){}
function ae(){}
function ke(){}
function oe(){}
function ye(){}
function Cf(){}
function Zf(){}
function dg(){}
function Fg(){}
function Pg(){}
function Qg(){}
function Sg(){}
function Tg(){}
function Eg(){}
function Xg(){}
function Yg(){}
function Dg(){}
function Cg(){}
function Bg(){}
function gh(){}
function mh(){}
function ph(){}
function vh(){}
function uh(){}
function th(){}
function Ih(){}
function Kh(){}
function Nh(){}
function Xh(){}
function $h(){}
function ai(){}
function hi(){}
function ri(){}
function Ci(){}
function Gi(){}
function Ji(){}
function Oi(){}
function Ri(){}
function Wi(){}
function Zi(){}
function sj(){}
function vj(){}
function Cj(){}
function Bj(){}
function $j(){}
function Zj(){}
function kk(){}
function sk(){}
function rk(){}
function Bk(){}
function Ik(){}
function Rk(){}
function Zk(){}
function el(){}
function jl(){}
function yl(){}
function Cl(){}
function Rl(){}
function Zl(){}
function oh(a){Kg(a)}
function rh(a){Lg(a)}
function cg(){return $f}
function Vd(){return Rd}
function yc(){yc=fm;sc()}
function Bc(){Bc=fm;yc()}
function bi(){bi=fm;Rh()}
function Zh(a){a.c&&Lg(a)}
function yk(){return null}
function Lb(a){return a.h()}
function od(){return this.d}
function Td(a){We(a,6);Uh()}
function Ek(){return this.b}
function ul(){return this.c}
function Vl(){return this.b}
function Wl(){return this.c}
function cd(){return ed(),dd}
function xi(){return vi(this)}
function Ei(a){gc();return a}
function Li(a){gc();return a}
function Ti(a){gc();return a}
function Yi(a){gc();return a}
function Yk(){return Wk(this)}
function _l(a){gc();return a}
function Ml(){return this.b.e}
function jj(){return qj(this)}
function jk(){return this.b.e}
function zk(){return this.b.c}
function dh(a,b){_g(a,b,a.g)}
function ki(a,b){mi(a,b,a.c)}
function R(a,b){gc();return a}
function bg(a){ff(a);null.B()}
function Al(a){Kj(a);return a}
function Jd(a){a.b={};return a}
function Qi(a,b){gc();return a}
function Ui(a,b){gc();return a}
function uj(a,b){gc();return a}
function Rb(a,b){a.b=b;return a}
function Vb(a,b){a.b=b;return a}
function ui(a,b){a.c=b;return a}
function dk(a,b){a.b=b;return a}
function pk(){return Vk(this.b)}
function Vk(a){return a.b<a.c.c}
function dl(){return this.c.b.e}
function sc(){sc=fm;Bc();new wc}
function oj(){oj=fm;lj={};nj={}}
function Fb(){Fb=fm;Eb=Hb(new Db)}
function xk(a,b){a.b=b;return a}
function Uk(a,b){a.c=b;return a}
function gl(a,b){a.b=b;return a}
function nd(a){a.d=++ld;return a}
function hd(a){gd(this,We(a,4))}
function Vg(){lh(this,(jh(),hh))}
function Wg(){lh(this,(jh(),ih))}
function Jg(a,b){!!a.e&&ie(a.e,b)}
function _i(a,b,c,d,e){return a}
function hl(){return Vk(this.b.b)}
function hk(a){return ek(this,a)}
function Ak(a){return Tj(this.b,a)}
function bl(a){return Lj(this.b,a)}
function Kl(a){return Lj(this.b,a)}
function qi(){return ui(new ri,this)}
function Ve(a,b){return a&&Se[a][b]}
function Sf(a,b){return fe(Vf(),a,b)}
function Qj(b,a){return Vn+a in b.f}
function Xk(){return this.b<this.c.c}
function ik(){return mk(new kk,this.b)}
function yj(a){throw uj(new sj,Wn)}
function _f(){_f=fm;$f=nd(new kd)}
function Wf(){if(!Of){Ag();Of=true}}
function lg(){if(!hg){vg();hg=true}}
function gd(a){We(a.e,3);$wnd.alert(hn)}
function Mk(a,b){(a<0||a>=b)&&Pk(a,b)}
function Ue(a,b){return a&&!!Se[a][b]}
function bh(){return ui(new ri,this.b)}
function wi(){return this.b<this.c.c-1}
function qk(){return We(Wk(this.b),19)}
function Fk(){return this.c.f[Vn+this.b]}
function Gk(a,b){return Dk(new Bk,b,a)}
function tl(a){return ql(this,a,0)!=-1}
function Hk(a){return Uj(this.c,this.b,a)}
function El(a){a.b=Al(new yl);return a}
function re(a){a.b=Al(new yl);return a}
function Qk(){return Uk(new Rk,We(this,8))}
function _k(a,b,c){a.b=b;a.c=c;return a}
function Dk(a,b,c){a.c=c;a.b=b;return a}
function Tl(a,b,c){a.b=b;a.c=c;return a}
function pl(a,b){Mk(b,a.c);return a.b[b]}
function U(a,b){gc();a.b=b;fc(a);return a}
function Ze(a,b){return a!=null&&Ue(a.tI,b)}
function ml(a){a.b=Ge(jf,0,0,0,0);return a}
function ji(a){a.b=Ge(hf,0,3,4,0);return a}
function ci(a){bi();Sh(a,$doc.body);return a}
function Ib(a){var b;b=a.c;a.c=[];Nb(b,a.c)}
function Ud(a){var b;if(Rd){b=new Qd;ie(a,b)}}
function jh(){jh=fm;hh=new mh;ih=new ph}
function Pk(a,b){throw Ui(new Ri,Xn+a+Yn+b)}
function nl(a,b){Je(a.b,a.c++,b);return true}
function yh(a,b){a.g=b;a.g.tabIndex=0;return a}
function me(a,b,c,d){a.b=b;a.d=c;a.c=d;return a}
function Yl(a){var b;b=this.c;this.c=a;return b}
function x(){return this.$H||(this.$H=++ub)}
function w(a){return this===(a==null?null:a)}
function Kb(a){return a.b.length>0||a.f.length>0}
function $e(a){return a!=null&&a.tM!=fm&&a.tI!=2}
function sl(a){return Je(this.b,this.c++,a),true}
function Lk(a){ol(this,this.v(),a);return true}
function Vf(){!Pf&&(Pf=fg(new dg));return Pf}
function hc(){try{null.a()}catch(a){return a}}
function ff(a){if(a!=null){throw Li(new Ji)}return a}
function ge(a,b){!a.b&&(a.b=ml(new jl));nl(a.b,b)}
function Fl(a,b){var c;c=Rj(a.b,b,a);return c==null}
function zj(a){var b;b=xj(this.p(),a);return !!b}
function Rf(a){Wf();return Sf(Rd?Rd:(Rd=nd(new kd)),a)}
function Ne(){Ne=fm;Le=[];Me=[];Oe(new ye,Le,Me)}
function ed(){ed=fm;dd=qd(new jd,gn,(ed(),new Uc))}
function de(a,b){a.e=re(new oe);a.f=b;a.d=false;return a}
function fg(a){a.e=re(new oe);a.f=null;a.d=false;return a}
function cc(a,b){a.length>=b&&a.splice(0,b);return a}
function eh(a,b){var c;c=ah(a,b);c&&fh(b.g);return c}
function Jl(a){var b;return b=Rj(this.b,a,this),b==null}
function Jb(a){var b;b=a.b;a.b=[];Nb(b,a.f);a.f=Mb(a.f)}
function Kj(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function fh(a){a.style[Mn]=fn;a.style[Nn]=fn;a.style[On]=fn}
function Th(a){Rh();try{Lg(a)}finally{Vj(Qh.b,a)!=null}}
function Uh(){Rh();try{lh(Qh,Oh)}finally{Kj(Qh.b);Kj(Ph)}}
function il(){var a;a=We(Wk(this.b.b),19);return a.y()}
function cl(){var a;return a=mk(new kk,this.c.b),gl(new el,a)}
function Ej(a){var b;b=dk(new Zj,a);return _k(new Zk,a,b)}
function Wb(){this.b.d&&Ob(this.b.e,1);return this.b.g}
function Sh(a,b){Rh();a.b=ji(new hi);a.g=b;Kg(a);return a}
function Rh(){Rh=fm;Oh=new Xh;Ph=Al(new yl);Qh=El(new Cl)}
function rj(){if(mj==256){lj=nj;nj={};mj=0}++mj}
function Vj(a,b){return !b?Xj(a):Wj(a,b,~~(b.$H||(b.$H=++ub)))}
function db(a){return a.tM==fm||a.tI==2?a.hC():a.$H||(a.$H=++ub)}
function xb(a){return function(){return yb(a,this,arguments)}}
function sf(a){if(a!=null&&Ue(a.tI,14)){return a}return U(new K,a)}
function vi(a){if(a.b>=a.c.c){throw _l(new Zl)}return a.c.b[++a.b]}
function Wk(a){if(a.b>=a.c.c){throw _l(new Zl)}return pl(a.c,a.b++)}
function Og(a,b){a.d==-1?Lf(a.g,b|(a.g.__eventBits||0)):(a.d|=b)}
function _g(a,b,c){Mg(b);ki(a.b,b);c.appendChild(b.g);Ng(b,a)}
function He(a,b,c,d){Ne();Qe(d,Le,Me);d.aC=a;d.tI=b;d.qI=c;return d}
function Qe(a,b,c){Ne();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function ql(a,b,c){for(;c<a.c;++c){if(em(b,a.b[c])){return c}}return -1}
function pi(a,b){var c;c=li(a,b);if(c==-1){throw _l(new Zl)}oi(a,c)}
function Tj(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function Xj(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function Xe(a){if(a!=null&&(a.tM==fm||a.tI==2)){throw Li(new Ji)}return a}
function We(a,b){if(a!=null&&!Ve(a.tI,b)){throw Li(new Ji)}return a}
function ij(a){if(!(a!=null&&Ue(a.tI,1))){return false}return String(this)==a}
function Ee(a,b){var c,d;c=a;d=Fe(0,b);He(c.aC,c.tI,c.qI,d);return d}
function Ig(a,b,c){Og(a,jg(c.c));return fe(!a.e?(a.e=de(new ae,a)):a.e,c,b)}
function fe(a,b,c){a.c>0?ge(a,me(new ke,a,b,c)):se(a.e,b,c);return new Zd}
function Ll(){var a;return a=mk(new kk,Ej(this.b).c.b),gl(new el,a)}
function Hb(a){Fb();a.e=Rb(new Pb,a);Vb(new Tb,a);a.b=[];a.f=[];a.c=[];return a}
function Sb(){this.b.d=true;Jb(this.b);this.b.d=false;return this.b.g=Kb(this.b)}
function ng(a){return !(a!=null&&a.tM!=fm&&a.tI!=2)&&a!=null&&Ue(a.tI,10)}
function Yj(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Bl(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function em(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Lj(a,b){return b==null?a.d:b!=null&&Ue(b.tI,1)?Qj(a,We(b,1)):Pj(a,b,~~db(b))}
function Mj(a,b){return b==null?a.c:b!=null&&Ue(b.tI,1)?a.f[Vn+We(b,1)]:Nj(a,b,~~db(b))}
function bb(a,b){return a.tM==fm||a.tI==2?a.eQ(b):(a==null?null:a)===(b==null?null:b)}
function li(a,b){var c;for(c=0;c<a.c;++c){if(a.b[c]==b){return c}}return -1}
function yb(a,b,c){var d;d=tb++==0;try{return a.apply(b,c)}finally{d&&Ib((Fb(),Eb));--tb}}
function Uj(e,a,b){var c,d=e.f;a=Vn+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function Oe(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function se(a,b,c){var d;d=We(Mj(a.b,b),8);if(!d){d=ml(new jl);Rj(a.b,b,d)}Je(d.b,d.c++,c)}
function Ge(a,b,c,d,e){var f;f=Fe(e,d);Ne();Qe(f,Le,Me);f.aC=a;f.tI=b;f.qI=c;return f}
function qd(a,b,c){a.d=++ld;a.b=c;!Zc&&(Zc=Jd(new Hd));Zc.b[b]=a;a.c=b;return a}
function ol(a,b,c){(b<0||b>a.c)&&Pk(b,a.c);a.b.splice(b,0,c);++a.c}
function kc(a){var b,c,d;d=pc(a);for(b=0,c=d.length;b<c;++b){d[b]=d[b].length==0?cn:d[b]}return d}
function If(a,b,c){var d;d=Ff;Ff=a;b==Gf&&jg((sc(),a).type)==8192&&(Gf=null);c.k(a);Ff=d}
function xj(a,b){var c;while(a.r()){c=a.s();if(b==null?c==null:bb(b,c)){return a}}return null}
function Yf(){var a;if(Of){a=(_f(),new Zf);!!Pf&&ie(Pf,a);return null}return null}
function Fe(a,b){var c=new Array(b);if(a>0){var d=[null,0,false,[0,0]][a];for(var e=0;e<b;++e){c[e]=d}}return c}
function Jj(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=Gk(e,c.substring(1));a.t(d)}}}
function bk(){var a,b,c;a=0;for(b=this.p();b.r();){c=b.s();if(c!=null){a+=db(c);a=~~a}}return a}
function vk(){var a,b;a=0;b=0;this.y()!=null&&(a=db(this.y()));this.z()!=null&&(b=db(this.z()));return a^b}
function Rj(a,b,c){return b==null?Tj(a,c):b!=null&&Ue(b.tI,1)?Uj(a,We(b,1),c):Sj(a,b,c,~~db(b))}
function kh(a,b){jh();R(a,Pn,b.b.e==0?null:We(b.w(Ge(lf,47,14,0,0)),17)[0]);return a}
function qj(a){oj();var b=Vn+a;var c=nj[b];if(c!=null){return c}c=lj[b];c==null&&(c=pj(a));rj();return nj[b]=c}
function mk(a,b){var c;a.c=b;c=ml(new jl);a.c.d&&nl(c,xk(new rk,a.c));Jj(a.c,c);Ij(a.c,c);a.b=Uk(new Rk,c);return a}
function Kg(a){var b;if(a.c){throw Qi(new Oi,In)}a.c=true;a.g.__listener=a;b=a.d;a.d=-1;b>0&&Og(a,b);a.l();a.n()}
function Lg(a){if(!a.c){throw Qi(new Oi,Jn)}try{a.o()}finally{try{a.m()}finally{a.g.__listener=null;a.c=false}}}
function Mg(a){if(!a.f){Rh();Lj(Qh.b,a)&&Th(a)}else if(a.f){eh(a.f,a)}else if(a.f){throw Qi(new Oi,Kn)}}
function Vh(a){Rh();var b;b=We(Mj(Ph,a),18);if(b){return b}Ph.e==0&&Rf(new $h);b=ci(new ai);Rj(Ph,a,b);Fl(Qh,b);return b}
function P(a){var b,c,d;c=Ge(kf,0,13,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw Yi(new Wi)}c[d]=a[d]}}
function je(a){var b,c;if(a.b){try{for(c=Uk(new Rk,a.b);c.b<c.c.c;){b=We(Wk(c),7);se(b.b.e,b.d,b.c)}}finally{a.b=null}}}
function Ng(a,b){var c;c=a.f;if(!b){try{!!c&&c.c&&Lg(a)}finally{a.f=null}}else{if(c){throw Qi(new Oi,Ln)}a.f=b;b.c&&Kg(a)}}
function oi(a,b){var c;if(b<0||b>=a.c){throw Ti(new Ri)}--a.c;for(c=b;c<a.c;++c){Je(a.b,c,a.b[c+1])}Je(a.b,a.c,null)}
function Ij(g,a){var b=g.b;for(var c in b){if(c==parseInt(c)){var d=b[c];for(var e=0,f=d.length;e<f;++e){a.t(d[e])}}}}
function uk(a){var b;if(a!=null&&Ue(a.tI,19)){b=We(a,19);if(em(this.y(),b.y())&&em(this.z(),b.z())){return true}}return false}
function ek(a,b){var c,d,e;if(b!=null&&Ue(b.tI,19)){c=We(b,19);d=c.y();if(Lj(a.b,d)){e=Mj(a.b,d);return Bl(c.z(),e)}}return false}
function Gj(){var a,b,c;c=0;for(b=mk(new kk,dk(new Zj,We(this,20)).b);Vk(b.b);){a=We(Wk(b.b),19);c+=a.hC();c=~~c}return c}
function Ok(){var a,b,c;b=1;a=Uk(new Rk,We(this,8));while(a.b<a.c.c){c=Wk(a);b=31*b+(c==null?0:db(c));b=~~b}return b}
function gc(){var a,b,c,d;c=cc(kc(hc()),3);d=Ge(kf,0,13,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=_i(new Zi,an,c[a],bn,0)}P(d)}
function Ah(a,b){var c;yh(a,(c=(sc(),$doc).createElement(Qn),c.type=Rn,c));a.g[Sn]=Tn;a.g.innerHTML=b||fn;return a}
function bd(a,b,c){var d,e,f;if(Zc){f=We(Zc.b[(sc(),a).type],5);if(f){d=f.b.b;e=f.b.c;f.b.b=a;f.b.c=c;Jg(b,f.b);f.b.b=d;f.b.c=e}}}
function Ob(b,c){Fb();$wnd.setTimeout(function(){var a=$entry(Lb)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function gwtOnLoad(b,c,d){$moduleName=c;$moduleBase=d;if(b)try{$entry(pf)()}catch(a){b(c)}else{$entry(pf)()}}
function Aj(a){var b,c,d,e;e=this.v();a.length<e&&(a=Ee(a,e));d=a;c=this.p();for(b=0;b<e;++b){Je(d,b,c.s())}a.length>e&&Je(a,e,null);return a}
function wl(a){var b,c,d;a.length<this.c&&(a=(c=a,d=Fe(0,this.c),He(c.aC,c.tI,c.qI,d),d));for(b=0;b<this.c;++b){Je(a,b,this.b[b])}a.length>this.c&&Je(a,this.c,null);return a}
function Nj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return f.z()}}}return null}
function Pj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return true}}}return false}
function Wj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){c.length==1?delete h.b[b]:c.splice(d,1);--h.e;return f.z()}}}return null}
function gj(c){if(c.length==0||c[0]>Un&&c[c.length-1]>Un){return c}var a=c.replace(/^(\s*)/,fn);var b=a.replace(/\s*$/,fn);return b}
function Sj(j,a,b,c){var d=j.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.y();if(j.x(a,h)){var i=g.z();g.A(b);return i}}}else{d=j.b[c]=[]}var g=Tl(new Rl,a,b);d.push(g);++j.e;return null}
function fc(a){var b,c,d,e;d=kc($e(a.b)?Xe(a.b):null);e=Ge(kf,0,13,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=_i(new Zi,an,d[b],bn,0)}P(e)}
function pc(a){var b,c,d,e,f;f=a&&a.message?a.message.split(dn):[];for(b=0,c=0,e=f.length;c<e;++b,c+=2){d=f[c].lastIndexOf(en);d==-1?(f[b]=fn,undefined):(f[b]=gj(f[c].substr(d+9,f[c].length-(d+9))),undefined)}f.length=b;return f}
function Rg(a){var b;switch(jg((sc(),a).type)){case 16:case 32:b=a.relatedTarget;if(!!b&&this.g.contains(b)){return}}bd(a,this,this.g)}
function ak(a){var b,c,d;if((a==null?null:a)===this){return true}if(!(a!=null&&Ue(a.tI,21))){return false}c=We(a,21);if(c.v()!=this.v()){return false}for(b=c.p();b.r();){d=b.s();if(!this.u(d)){return false}}return true}
function lh(b,c){var i;jh();var a,e,f,g,h;e=null;for(h=b.p();h.r();){g=We(h.s(),3);try{c.q(g)}catch(a){a=sf(a);if(Ze(a,14)){f=a;!e&&(e=El(new Cl));i=Rj(e.b,f,e)}else throw a}}if(e){throw kh(new gh,e)}}
function pj(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function mi(a,b,c){var d,e;if(c<0||c>a.c){throw Ti(new Ri)}if(a.c==a.b.length){e=Ge(hf,0,3,a.b.length*2,0);for(d=0;d<a.b.length;++d){Je(e,d,a.b[d])}a.b=e}++a.c;for(d=a.c-1;d>c;--d){Je(a.b,d,a.b[d-1])}Je(a.b,c,b)}
function Je(a,b,c){if(c!=null){if(a.qI>0&&!Ve(c.tI,a.qI)){throw Ei(new Ci)}if(a.qI<0&&(c.tM==fm||c.tI==2)){throw Ei(new Ci)}}return a[b]=c}
function Mb(a){var b,c,d,e,f,g;b=false;d=a.length;f=(new Date).getTime();while((new Date).getTime()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].h()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){if(!a[c]){continue}e[e.length]=a[c]}return e}else{return a}}
function Nb(b,c){var a,e,f,g;for(e=0,f=b.length;e<f;++e){g=b[e];try{g[1]?g[0].h()&&(c[c.length]=g,undefined):g[0].B()}catch(a){a=sf(a);if(!Ze(a,2))throw a}}}
function Nk(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Ue(a.tI,8))){return false}f=We(a,8);if(this.v()!=f.c){return false}d=Uk(new Rk,We(this,8));e=Uk(new Rk,f);while(d.b<d.c.c){b=Wk(d);c=Wk(e);if(!(b==null?c==null:bb(b,c))){return false}}return true}
function ie(a,b){var c;if(b.d){b.d=false;b.e=null}c=b.e;b.e=a.f;try{++a.c;te(a.e,b,a.d)}finally{--a.c;a.c==0&&je(a)}if(c==null){b.d=true;b.e=null}else{b.e=c}}
function Ag(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=$entry(Yf)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=$entry(function(a){try{Of&&Ud(Vf())}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function ah(a,b){var c,d;if(b.f!=a){return false}try{Ng(b,null)}finally{c=b.g;(d=(sc(),c).parentNode,(!d||d.nodeType!=1)&&(d=null),d).removeChild(c);pi(a.b,b)}return true}
function jg(a){switch(a){case on:return 4096;case pn:return 1024;case gn:return 1;case qn:return 2;case rn:return 2048;case sn:return 128;case tn:return 256;case un:return 512;case vn:return 32768;case wn:return 8192;case xn:return 4;case yn:return 64;case zn:return 32;case An:return 16;case Bn:return 8;case Cn:return 16384;case Dn:return 65536;case En:return 131072;case Fn:return 131072;case Gn:return 262144;case Hn:return 524288;}}
function pf(){var a,b;!!$stats&&$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:jn,evtGroup:kn,millis:(new Date).getTime(),type:ln,className:mn});a=Ah(new th,nn);b=new Kh;Ig(a,b,(ed(),ed(),dd));dh((Rh(),Vh(null)),a)}
function te(a,b,c){var d,e,f,g,h,i,j;g=b.j();d=(h=We(Mj(a.b,g),8),!h?0:h.c);if(c){for(f=d-1;f>=0;--f){e=(i=We(Mj(a.b,g),8),We((Mk(f,i.c),i.b[f]),16));b.i(e)}}else{for(f=0;f<d;++f){e=(j=We(Mj(a.b,g),8),We((Mk(f,j.c),j.b[f]),16));b.i(e)}}}
function Fj(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Ue(a.tI,20))){return false}e=We(a,20);if(We(this,20).e!=e.e){return false}for(c=mk(new kk,dk(new Zj,e).b);Vk(c.b);){b=We(Wk(c.b),19);d=b.y();f=b.z();if(!(d==null?We(this,20).d:d!=null&&Ue(d.tI,1)?Qj(We(this,20),We(d,1)):Pj(We(this,20),d,~~db(d)))){return false}if(!em(f,d==null?We(this,20).c:d!=null&&Ue(d.tI,1)?We(this,20).f[Vn+We(d,1)]:Nj(We(this,20),d,~~db(d)))){return false}}return true}
function Lf(a,b){lg();a.__eventBits=b;a.onclick=b&1?tg:null;a.ondblclick=b&2?tg:null;a.onmousedown=b&4?tg:null;a.onmouseup=b&8?tg:null;a.onmouseover=b&16?tg:null;a.onmouseout=b&32?tg:null;a.onmousemove=b&64?tg:null;a.onkeydown=b&128?tg:null;a.onkeypress=b&256?tg:null;a.onkeyup=b&512?tg:null;a.onchange=b&1024?tg:null;a.onfocus=b&2048?tg:null;a.onblur=b&4096?tg:null;a.onlosecapture=b&8192?tg:null;a.onscroll=b&16384?tg:null;a.onload=b&32768?tg:null;a.onerror=b&65536?tg:null;a.onmousewheel=b&131072?tg:null;a.oncontextmenu=b&262144?tg:null;a.onpaste=b&524288?tg:null}
function vg(){sg=$entry(function(a){if(rg(a)){var b=qg;if(b&&b.__listener){if(ng(b.__listener)){If(a,b,b.__listener);a.stopPropagation()}}}});rg=$entry(function(a){return true});tg=$entry(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&ng(b)&&If(a,c,b)});$wnd.addEventListener(gn,sg,true);$wnd.addEventListener(qn,sg,true);$wnd.addEventListener(xn,sg,true);$wnd.addEventListener(Bn,sg,true);$wnd.addEventListener(yn,sg,true);$wnd.addEventListener(An,sg,true);$wnd.addEventListener(zn,sg,true);$wnd.addEventListener(En,sg,true);$wnd.addEventListener(sn,rg,true);$wnd.addEventListener(un,rg,true);$wnd.addEventListener(tn,rg,true)}
var fn='',dn='\n',Un=' ',Yn=', Size: ',Vn=':',Wn='Add not supported on this collection',Qn='BUTTON',Ln='Cannot set a new parent without first clearing the old parent',Fn='DOMMouseScroll',hn='Hello World!',Xn='Index: ',Pn='One or more exceptions caught, see full set in AttachDetachException#getCauses',In="Should only call onAttach when the widget is detached from the browser's document",Jn="Should only call onDetach when the widget is attached to the browser's document",nn='SimpleGadget',Kn="This widget's parent does not implement HasWidgets",an='Unknown',bn='Unknown source',cn='anonymous',on='blur',Rn='button',pn='change',Sn='className',gn='click',mn='com.example.simplegadget.client.SimpleGadget',Gn='contextmenu',qn='dblclick',Dn='error',rn='focus',en='function ',Tn='gwt-Button',sn='keydown',tn='keypress',un='keyup',Mn='left',vn='load',wn='losecapture',kn='moduleStartup',xn='mousedown',yn='mousemove',zn='mouseout',An='mouseover',Bn='mouseup',En='mousewheel',ln='onModuleLoadStart',Hn='paste',On='position',Cn='scroll',jn='startup',Nn='top';var _;_=s.prototype={};_.eQ=w;_.hC=x;_.tM=fm;_.tI=1;_=N.prototype=new s;_.tI=3;_=M.prototype=new N;_.tI=4;_=L.prototype=new M;_.tI=5;_=K.prototype=new L;_.tI=6;_.b=null;_=pb.prototype=new s;_.tI=0;var tb=0,ub=0;_=Db.prototype=new pb;_.tI=0;_.d=false;_.g=false;var Eb;_=Pb.prototype=new s;_.h=Sb;_.tI=0;_.b=null;_=Tb.prototype=new s;_.h=Wb;_.tI=0;_.b=null;_=rc.prototype=new s;_.tI=0;_=xc.prototype=new rc;_.tI=0;_=wc.prototype=new xc;_.tI=0;_=Wc.prototype=new s;_.tI=0;_.d=false;_.e=null;_=Vc.prototype=new Wc;_.j=cd;_.tI=0;_.b=null;_.c=null;var Zc=null;_=Uc.prototype=new Vc;_.i=hd;_.tI=0;var dd;_=kd.prototype=new s;_.hC=od;_.tI=0;_.d=0;var ld=0;_=jd.prototype=new kd;_.tI=7;_.b=null;_.c=null;_=Hd.prototype=new s;_.tI=0;_.b=null;_=Qd.prototype=new Wc;_.i=Td;_.j=Vd;_.tI=0;var Rd=null;_=Zd.prototype=new s;_.tI=0;_=ae.prototype=new s;_.tI=0;_.b=null;_.c=0;_.d=false;_.e=null;_.f=null;_=ke.prototype=new s;_.tI=8;_.b=null;_.c=null;_.d=null;_=oe.prototype=new s;_.tI=0;_=ye.prototype=new s;_.tI=0;_.aC=null;_.length=0;_.qI=0;var Le,Me;var Se=[{},{},{1:1,12:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{5:1},{7:1},{16:1},{9:1},{11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{2:1,12:1,14:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{16:1},{4:1,16:1},{3:1,9:1,10:1,11:1,18:1},{6:1,16:1},{3:1,9:1,10:1,11:1,18:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,13:1},{2:1,12:1,14:1},{21:1},{21:1},{19:1},{19:1},{19:1},{21:1},{8:1,12:1},{12:1,20:1},{12:1,21:1},{19:1},{2:1,12:1,14:1},{15:1},{17:1}];_=Cf.prototype=new s;_.tI=9;var Ff=null,Gf=null;var Of=false,Pf=null;_=Zf.prototype=new Wc;_.i=bg;_.j=cg;_.tI=0;var $f;_=dg.prototype=new ae;_.tI=10;var hg=false;var qg=null,rg=null,sg=null,tg=null;_=Fg.prototype=new s;_.tI=11;_.g=null;_=Eg.prototype=new Fg;_.l=Pg;_.m=Qg;_.k=Rg;_.n=Sg;_.o=Tg;_.tI=12;_.c=false;_.d=0;_.e=null;_.f=null;_=Dg.prototype=new Eg;_.l=Vg;_.m=Wg;_.n=Xg;_.o=Yg;_.tI=13;_=Cg.prototype=new Dg;_.p=bh;_.tI=14;_=Bg.prototype=new Cg;_.tI=15;_=gh.prototype=new L;_.tI=16;var hh,ih;_=mh.prototype=new s;_.q=oh;_.tI=0;_=ph.prototype=new s;_.q=rh;_.tI=0;_=vh.prototype=new Eg;_.tI=17;_=uh.prototype=new vh;_.tI=18;_=th.prototype=new uh;_.tI=19;_=Ih.prototype=new Cf;_.tI=20;_=Kh.prototype=new Ih;_.tI=21;_=Nh.prototype=new Bg;_.tI=22;var Oh,Ph,Qh;_=Xh.prototype=new s;_.q=Zh;_.tI=0;_=$h.prototype=new s;_.tI=23;_=ai.prototype=new Nh;_.tI=24;_=hi.prototype=new s;_.p=qi;_.tI=0;_.b=null;_.c=0;_=ri.prototype=new s;_.r=wi;_.s=xi;_.tI=0;_.b=-1;_.c=null;_=Ci.prototype=new L;_.tI=26;_=Gi.prototype=new s;_.tI=0;_=Ji.prototype=new L;_.tI=29;_=Oi.prototype=new L;_.tI=30;_=Ri.prototype=new L;_.tI=31;_=Wi.prototype=new L;_.tI=32;_=Zi.prototype=new s;_.tI=33;_=String.prototype;_.eQ=ij;_.hC=jj;_.tI=2;var lj,mj=0,nj;_=sj.prototype=new L;_.tI=34;_=vj.prototype=new s;_.t=yj;_.u=zj;_.w=Aj;_.tI=0;_=Cj.prototype=new s;_.eQ=Fj;_.hC=Gj;_.tI=0;_=Bj.prototype=new Cj;_.x=Yj;_.tI=0;_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=$j.prototype=new vj;_.eQ=ak;_.hC=bk;_.tI=35;_=Zj.prototype=new $j;_.u=hk;_.p=ik;_.v=jk;_.tI=36;_.b=null;_=kk.prototype=new s;_.r=pk;_.s=qk;_.tI=0;_.b=null;_.c=null;_=sk.prototype=new s;_.eQ=uk;_.hC=vk;_.tI=37;_=rk.prototype=new sk;_.y=yk;_.z=zk;_.A=Ak;_.tI=38;_.b=null;_=Bk.prototype=new sk;_.y=Ek;_.z=Fk;_.A=Hk;_.tI=39;_.b=null;_.c=null;_=Ik.prototype=new vj;_.t=Lk;_.eQ=Nk;_.hC=Ok;_.p=Qk;_.tI=0;_=Rk.prototype=new s;_.r=Xk;_.s=Yk;_.tI=0;_.b=0;_.c=null;_=Zk.prototype=new $j;_.u=bl;_.p=cl;_.v=dl;_.tI=40;_.b=null;_.c=null;_=el.prototype=new s;_.r=hl;_.s=il;_.tI=0;_.b=null;_=jl.prototype=new Ik;_.t=sl;_.u=tl;_.v=ul;_.w=wl;_.tI=41;_.c=0;_=yl.prototype=new Bj;_.tI=42;_=Cl.prototype=new $j;_.t=Jl;_.u=Kl;_.p=Ll;_.v=Ml;_.tI=43;_.b=null;_=Rl.prototype=new sk;_.y=Vl;_.z=Wl;_.A=Yl;_.tI=44;_.b=null;_.c=null;_=Zl.prototype=new L;_.tI=45;var $entry=xb;var kf=new Gi,lf=new Gi,hf=new Gi,jf=new Gi;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if (simplegadget) simplegadget.onScriptLoad(gwtOnLoad);})();